package com.ruoyi.common.core.domain.entity;


import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.entity.proxy.MemberUserProxy;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 会员用户
 */
@Table("member_user")
@Data
@EntityProxy
public class MemberUser implements ProxyEntityAvailable<MemberUser, MemberUserProxy>, Serializable {
    private static final long serialVersionUID = 1L;

    @Column(primaryKey = true)
    private Long userId;

    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    private String salt;

    /**
     * openid
     */
    private String openId;

    /**
     * 名字
     */
    private String nickName;

    /**
     * 手机
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 身份证
     */
    private String idCard;
    @ApiModelProperty("用户在平台是否已实名，1：是 ；0：不是")
    private String identifyState;
    /**
     * 积分
     */
    private BigDecimal balance;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 登录ip
     */
    private String loginIp;

    private String registerIp;

    private Date registerTime;

    /**
     * 登录时间
     */
    private Date loginDate;




}
